﻿using System.Collections.Generic;

namespace JinYuan.MES.Models
{
    /// <summary>
    /// 设备参数设定值返回
    /// </summary>
    public class ParamReturnData
    {
        /// <summary>
        /// 返回参数
        /// </summary>
        public List<RowsItem> rows { get; set; }
        /// <summary>
        /// 成功标识
        /// </summary>
        public bool success { get; set; }
        /// <summary>
        /// 返回参数条数
        /// </summary>
        public int total { get; set; }
    }


    /// <summary>
    /// 返回参数项
    /// </summary>
    public class RowsItem
    {
        /// <summary>
        /// 数据组编码
        /// </summary>
        public string tagGroupCode { get; set; }
        /// <summary>
        /// 配方0002
        /// </summary>
        public string tagGroupDescription { get; set; }
        /// <summary>
        /// 数据组描述
        /// </summary>
        public List<ReturnDataTagListItem> tagList { get; set; }
    }

    /// <summary>
    /// 数据组描述
    /// </summary>
    public class ReturnDataTagListItem
    {
        /// <summary>
        /// 
        /// </summary>
        public string tagCode { get; set; }
        /// <summary>
        /// 真空度设定值
        /// </summary>
        public string tagDescription { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public string valueType { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public string unit { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public string standardValue { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public string trueValue { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public string falseValue { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public string minValue { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public string maxValue { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public string tagRemark { get; set; }
    }
}
